 /**
 * Created by seeker910 on 2014/8/18.
 *
 * top , banner , content , service , bottom
 */
Rsd.define('Rsd.hermit.pages.ShopMaster', {
    extend: 'Rsd.container.Page',
    requires: [
        'Rsd.control.Grid',
        'Rsd.control.MenuList', 
        'Rsd.form.Link',
        'Rsd.form.Image', 
        'Rsd.form.Text', 
        'Rsd.hermit.sections.AdsViewPart',
        'Rsd.hermit.sections.CollectionPart',
        'Rsd.hermit.sections.CopyrightViewPart',
        'Rsd.hermit.sections.HNavigationPart', 
        'Rsd.hermit.sections.ImageNewsViewPart',
        'Rsd.hermit.sections.ListGroupViewPart',
        'Rsd.hermit.sections.ProductViewPart',
        'Rsd.hermit.sections.ProductItemViewPart',
        'Rsd.hermit.sections.ScrollListPart',
        'Rsd.hermit.sections.ScrollTopPart',
        'Rsd.hermit.sections.SvgContentPart',
        'Rsd.hermit.sections.SitePathPart',
        'Rsd.hermit.sections.SlideImagePart',
        'Rsd.hermit.sections.TopInfoBarPart',
        'Rsd.hermit.sections.TabContainerViewPart', 
    ],
    xtype: 'master-page',
    autoLoad: true,
    sizeUnit: 'px',
    layout: 'vbox',
    items: [
        {
            name: 'toTop',
            xtype: 'scroll-top', 
            editInMaster:true
        },
        {
            name: 'top', 
            xtype: 'h-navigation',
            width: '100%',
            cls: 'x-master-top',
            height: 100,
            width: '100%',
            style: { 
                backgroundColor: '#5e006f',
                color: "#fff"
            },
            label:{
                   
                    position: 'left',
                    space: 0,
                    xtype:'image', 
                    title: 'Logo',
                    label: false,
                    height: '100%',
                    width: 450,
                    src:'../../resources/svg/rsd_red.svg'
            },
            ctrlStyle: {
                display: 'flex',
            },
            layout: 'hbox',
            usingItemHover: false,
            itemSelectedCls: false,
            itemXtype: 'link',
            itemStyle: { height: 100, lineHeight: '100px', textAlign: 'center' },
            itemLabelWidth: '90%',
            itemClick:'btn_menu_click',//通过click 事件跳转可以 躲避爬虫
            dataSource: [ 
                {
                    id:'m001',text: "HOME", href: 'shop', label: false, height: 100, liStyle:{flex: 150}
                },
                {
                    id:'m002',text: "ABOUT", href: 'about', label: false, height: 100, liStyle:{flex: 150}
                },
                {
                    id:'m003',text: "SHOP", href: 'product.list', label: false, height: 100,liStyle:{ flex: 150}
                },
                {
                    id:'m004',text: "BLOG", href: 'blog.list', label: false, height: 100,liStyle:{ flex: 150}
                },
                {
                    id:'m005',text: "CONTACT", href: 'contact', label: false, height: 100, liStyle:{flex: 150}
                },
                {
                    liStyle:{flex: 200},
                    text: ''
                }
            ], 
            domEditable: true,
            editInMaster:true
        },
        {
              name:'banner',
              xtype:'container',
              header:false,
              width:'100%',
              height:450,
              style: {
                    backgroundColor: '#5e006f',
              },
              items:[ 
                  {
                      xtype: 'slide-image',
                      label: false,
                      width: '100%',
                      height: '98%', 
                      duration:8000,
                      dataSource: [
                          { 
                            height: '100%',
                            width: '100%',
                            dataSource:{
                                link:{url:'http://www.baidu.com'},
                                button:{
                                    text:'SHOP NOW',
                                     style:{
                                        width:'160px',
                                        height:'50px',
                                        textAlign:'center',
                                        top:250,
                                        left:500,
                                        backgroundColor:'brown',
                                        color:'#fff'
                                    }           
                                    }, 
                                html:{
                                    content:'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore etlop.',
                                    style:{
                                        top:'20%',
                                        left:'15%',
                                        color:'#fff',
                                        fontSize:'300%',
                                        fontWeight:200
                                    }
                                },
                                image: {
                                    src:'https://img1.baidu.com/it/u=4095587181,1542876091&fm=253&app=138&f=JPEG',
                                    size:'cover'
                                }
                                
                            }
                              
                          },
                          {
                            link:{},
                             height: '100%',
                             width: '100%',
                             dataSource:{
                                html:{
                                    content:'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore etlop.',
                                    style:{
                                        top:'10%',
                                        left:'15%',
                                        width:'70%',
                                        color:'#000000',
                                        fontSize:'300%',
                                        fontWeight:200
                                    }
                                }, 
                                image: {
                                    src:'http://image.redmicro.cn/hermit/bg1.webp',
                                    size:'cover'
                                }
                            }
                              
                          }
                      ]
                  }
                       
              ], 
              domEditable: true,
              editInMaster:true
        }, 
        {
            name: 'content',
            xtype: 'container',
            header: false,
            width: '100%',
            cls: 'x-master-content',
            layout: {type:'vbox',align:'center'},
            style:{minHeight:600},
            items:[]
        },
        {  
                 name:'services',
                  xtype:'collection',
                  label:false,
                  width:'100%',
                  height:'auto',
                  style:{borderTop:'1px grey solid',color:'#5e006f'},
                  layout:'hbox', 
                  itemXtype:'svg-content', 
                  columnCount:4, 
                  dataSource:[
                    {
                      
                        width:250,
                        height:180,
                        label:{
                            position:'right',
                            space:20,
                            width:190
                        },
                        dataSource:
                        {
                            title:'Free Shipping',
                            text:'Capped at $39 per order',
                            svg:{
                                viewBox:"0 0 1355 1024",
                                paths:[
                                        "M286.999297 224.053753a18.89041 18.89041 0 0 0-1.214383-5.464725 5.802054 5.802054 0 0 0-2.091438-3.238356 4.857534 4.857534 0 0 0-2.69863-0.944521H179.458893a14.774999 14.774999 0 0 0-9.310273 3.305822 13.49315 13.49315 0 0 0-3.643151 11.131849v192.749645a3.64315 3.64315 0 0 0 1.214384 3.035959 6.746575 6.746575 0 0 0 3.64315 2.091438 29.212669 29.212669 0 0 0 6.746575 1.484247 92.090748 92.090748 0 0 0 21.11678 0 26.109245 26.109245 0 0 0 6.746575-1.484247 6.746575 6.746575 0 0 0 3.508218-2.22637 5.194863 5.194863 0 0 0 0.944521-3.035958V342.118815h65.914037a5.059931 5.059931 0 0 0 2.766096-0.944521 6.139383 6.139383 0 0 0 2.091438-2.968493 27.391094 27.391094 0 0 0 1.214383-5.464726 69.692119 69.692119 0 0 0 0-8.095889 70.973968 70.973968 0 0 0 0-8.163356 19.767465 19.767465 0 0 0-1.214383-5.127397c-0.607192-1.214383-1.214383-2.361301-2.091438-2.69863a4.992465 4.992465 0 0 0-2.766096-0.877055H210.493138v-57.278421h70.501708a4.722602 4.722602 0 0 0 2.69863-0.877055 6.004452 6.004452 0 0 0 2.091438-3.035958 16.394177 16.394177 0 0 0 1.214383-5.39726 60.719174 60.719174 0 0 0 0-8.433219v-8.703082z m194.90855 193.694166c-1.079452-3.035959-2.158904-6.071917-3.373287-9.04041l-18.013355-41.828764a97.757871 97.757871 0 0 0-6.746575-13.49315 99.714377 99.714377 0 0 0-6.746575-10.861986 48.777737 48.777737 0 0 0-8.163356-8.230821 57.345887 57.345887 0 0 0-9.04041-5.734589 77.248283 77.248283 0 0 0 17.810957-8.163356 57.818147 57.818147 0 0 0 13.49315-12.008903 48.440408 48.440408 0 0 0 8.163356-15.71952 68.545201 68.545201 0 0 0 2.69863-19.565067 59.707188 59.707188 0 0 0-3.913014-22.601026 46.214038 46.214038 0 0 0-11.199314-16.866437 57.278421 57.278421 0 0 0-18.013355-11.536643 89.257186 89.257186 0 0 0-23.545546-6.746575l-10.187329-0.674658H335.777034a14.774999 14.774999 0 0 0-9.310273 3.305822 13.49315 13.49315 0 0 0-3.643151 10.524657V421.930796a4.992465 4.992465 0 0 0 0.944521 2.968493 6.746575 6.746575 0 0 0 3.575684 2.158904 35.689381 35.689381 0 0 0 6.746575 1.146918 85.951365 85.951365 0 0 0 10.524657 0.607191 86.895885 86.895885 0 0 0 10.524657-0.607191c2.69863 0 5.127397-0.877055 6.746575-1.146918a8.163356 8.163356 0 0 0 3.643151-2.158904 5.262328 5.262328 0 0 0 1.214383-2.968493V340.567102h13.49315a31.439039 31.439039 0 0 1 12.346232 2.158904 28.335615 28.335615 0 0 1 9.310273 6.274315 50.329449 50.329449 0 0 1 7.556164 10.592123c2.091438 4.182876 4.520205 8.972945 6.746575 14.43767l19.295205 47.226024a6.746575 6.746575 0 0 0 1.821575 3.305822 7.151369 7.151369 0 0 0 3.305822 2.428767 30.62945 30.62945 0 0 0 6.746574 1.214384h24.624999a30.561984 30.561984 0 0 0 7.218835-1.214384c1.821575-0.607192 2.69863-1.214383 2.968493-2.091438a8.365753 8.365753 0 0 0 0.607192-3.035959 8.703082 8.703082 0 0 0-0.607192-4.520205z m-57.885613-127.4428a28.200683 28.200683 0 0 1-6.746575 9.647602 31.371573 31.371573 0 0 1-11.73904 6.274315 51.881161 51.881161 0 0 1-16.259246 2.158904h-22.466094v-60.719174h19.565067a113.949651 113.949651 0 0 1 12.008903 0.742123c2.766096 0.337329 5.464726 0.94452 7.556164 1.214383a25.839382 25.839382 0 0 1 15.382191 10.254794 30.764382 30.764382 0 0 1 4.857534 17.743492 34.137669 34.137669 0 0 1-2.158904 12.683561z m218.116768 112.600336a19.767465 19.767465 0 0 0-0.877055-5.39726 7.691095 7.691095 0 0 0-2.158904-2.968493 4.655137 4.655137 0 0 0-2.69863-0.944521H558.68387v-59.909585h65.036982a4.655137 4.655137 0 0 0 2.69863-0.944521 6.274315 6.274315 0 0 0 2.158904-2.69863 17.541095 17.541095 0 0 0 1.146918-5.127397 90.94383 90.94383 0 0 0 0-15.652053 17.541095 17.541095 0 0 0-1.146918-5.127397 6.274315 6.274315 0 0 0-2.158904-2.69863 4.182876 4.182876 0 0 0-2.69863-0.877055h-65.036982v-52.151024h76.776022a4.587671 4.587671 0 0 0 2.69863-0.877055 6.004452 6.004452 0 0 0 2.158904-3.035959 19.092807 19.092807 0 0 0 1.214384-5.127397 67.465749 67.465749 0 0 0 0-7.826026 69.692119 69.692119 0 0 0 0-8.09589 26.379108 26.379108 0 0 0-1.214384-5.464726 5.802054 5.802054 0 0 0-2.158904-2.968493 4.655137 4.655137 0 0 0-2.69863-0.944521H527.986954a14.842465 14.842465 0 0 0-9.377739 3.305822 13.49315 13.49315 0 0 0-3.575685 10.592123v185.800673a13.49315 13.49315 0 0 0 3.575685 10.727054 13.96541 13.96541 0 0 0 9.377739 3.305822h107.945199a4.587671 4.587671 0 0 0 2.69863-0.877055 5.734589 5.734589 0 0 0 2.158904-3.035958 18.485615 18.485615 0 0 0 1.214383-5.059932 71.58116 71.58116 0 0 0 0-8.163355 65.846571 65.846571 0 0 0 0-7.556164z m166.235606 0a19.767465 19.767465 0 0 0-1.214384-5.127397 8.365753 8.365753 0 0 0-2.091438-2.968493 5.059931 5.059931 0 0 0-2.766096-0.944521h-77.383214v-60.179448h64.767119a5.059931 5.059931 0 0 0 2.766096-0.944521 6.746575 6.746575 0 0 0 2.091438-2.69863 19.767465 19.767465 0 0 0 1.214384-5.127397 113.612322 113.612322 0 0 0 0-15.652053 19.767465 19.767465 0 0 0-1.214384-5.127397 6.746575 6.746575 0 0 0-2.091438-2.69863 4.520205 4.520205 0 0 0-2.766096-0.877055h-64.767119v-52.151024h76.843488a4.925 4.925 0 0 0 2.69863-0.877055 6.34178 6.34178 0 0 0 2.091439-3.035959 19.092807 19.092807 0 0 0 1.214383-5.127397 67.465749 67.465749 0 0 0 0-7.826026 69.692119 69.692119 0 0 0 0-8.09589 26.379108 26.379108 0 0 0-1.214383-5.464726 6.139383 6.139383 0 0 0-2.091439-2.968493 4.992465 4.992465 0 0 0-2.69863-0.944521H694.22256a14.977396 14.977396 0 0 0-9.377739 3.305822 13.830479 13.830479 0 0 0-3.575685 10.592123v185.800673a13.49315 13.49315 0 0 0 3.575685 10.524657 13.96541 13.96541 0 0 0 9.377739 3.305822h107.945199a4.925 4.925 0 0 0 2.766096-0.877055 6.004452 6.004452 0 0 0 2.091438-3.035959 18.485615 18.485615 0 0 0 1.214383-5.059931 71.58116 71.58116 0 0 0 0-8.163355 65.846571 65.846571 0 0 0 0-7.556164z m-499.246545 287.943818a166.572935 166.572935 0 1 0 166.572935 166.572935 166.707866 166.707866 0 0 0-166.572935-166.572935z m0 262.03697a95.194172 95.194172 0 1 1 95.194172-95.194172A95.396569 95.396569 0 0 1 308.993132 952.886243z m736.928379-262.03697a166.572935 166.572935 0 1 0 166.50547 166.572935 166.707866 166.707866 0 0 0-166.50547-166.572935z m0 262.03697a95.194172 95.194172 0 1 1 95.126707-95.194172 95.396569 95.396569 0 0 1-95.126707 95.194172zM998.830418 333.685596h166.572935s57.818147 58.425339 47.563353 166.505469h-214.136288z",
                                        "M867.06981 60.179448v190.928071h370.184566c15.989383 21.993834 53.635271 94.924309 57.818147 296.849297v225.605465h-102.68287a185.193482 185.193482 0 0 0-292.19416 0H455.393808a185.193482 185.193482 0 0 0-292.194161 0H60.246914V60.179448h806.822896m60.246914-60.179448H0.337329v833.606798h197.202385c16.259246-41.558902 59.977051-71.378763 111.723281-71.378763s95.194172 29.819861 111.453417 71.378763h513.819147c16.259246-41.558902 59.977051-71.378763 111.790746-71.378763s95.126706 29.819861 111.385953 71.378763h197.607179V547.821884c-6.34178-321.40683-95.194172-357.231142-95.194172-357.231142h-332.808541z"
                                    ],
                                fill:"#d4237a"
                            }
                        }
                    }, 
                    {
                        width:250,
                        height:180,
                        label:{
                            position:'right',
                            space:20,
                            width:190
                        },
                        dataSource:
                        {
                            title:'Card Payments',
                            text:'12 Months Installments',
                            svg:{
                                viewBox:"0 0 1024 1024",
                                paths:[
                                    "M488.912467 464.466844h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445623H488.912467c13.580902 0 24.445623-10.864721 24.445623-24.445623s-10.864721-24.445623-24.445623-24.445623z m141.241379 418.291777h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445623h46.175066c13.580902 0 24.445623-10.864721 24.445623-24.445623-2.71618-13.580902-13.580902-24.445623-24.445623-24.445623z m-141.241379 0h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445623H488.912467c13.580902 0 24.445623-10.864721 24.445623-24.445623s-10.864721-24.445623-24.445623-24.445623z m488.912467-138.525199c0 24.445623-21.729443 46.175066-46.175067 46.175066h-138.525199c-24.445623 0-46.175066-21.729443-46.175066-46.175066V651.883289c0-24.445623 21.729443-46.175066 46.175066-46.175066h138.525199c24.445623 0 46.175066 21.729443 46.175067 46.175066v92.350133z m-92.350133 184.700265c0 24.445623-21.729443 46.175066-46.175066 46.175066H92.350133c-24.445623 0-46.175066-21.729443-46.175067-46.175066V464.466844c0-24.445623 21.729443-46.175066 46.175067-46.175067h744.233421c24.445623 0 46.175066 21.729443 46.175067 46.175067v92.350132h-92.350133c-51.607427 0-92.350133 40.742706-92.350133 92.350133v92.350132c0 51.607427 40.742706 92.350133 92.350133 92.350133h92.350133v95.066313h2.71618zM46.175066 372.116711c0-24.445623 21.729443-46.175066 46.175067-46.175066h27.161803l13.580902 46.175066H92.350133c-16.297082 0-32.594164 5.432361-46.175067 13.580902v-13.580902z m130.376658-200.997348l469.899204-124.944297c24.445623-5.432361 51.607427 8.148541 57.039788 32.594165l10.864722 46.175066-559.533157 149.389921-10.864721-46.175067c-8.148541-24.445623 8.148541-48.891247 32.594164-57.039788z m575.830239 89.633953l29.877984 111.363395H331.374005l421.007958-111.363395z m86.917772 65.188329c24.445623 0 46.175066 21.729443 46.175066 46.175066v13.580902c-13.580902-8.148541-29.877984-13.580902-46.175066-13.580902h-8.148541l-13.580902-46.175066h21.729443z m92.350132 230.875331v-184.700265c0-51.607427-40.742706-92.350133-92.350132-92.350133h-32.594165l-57.039788-209.145888C736.084881 21.729443 684.477454-8.148541 635.586207 5.432361L165.687003 127.660477c-51.607427 13.580902-81.485411 65.188329-67.90451 114.079576l10.864722 38.026525h-16.297082c-51.607427 0-92.350133 40.742706-92.350133 92.350133v556.816976c0 51.607427 40.742706 92.350133 92.350133 92.350133h744.233421c51.607427 0 92.350133-40.742706 92.350133-92.350133v-92.350133c51.607427 0 92.350133-40.742706 92.350133-92.350132V651.883289c2.71618-51.607427-38.026525-95.066313-89.633953-95.066313z m-301.496021-92.350132h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445623h46.175066c13.580902 0 24.445623-10.864721 24.445623-24.445623-2.71618-13.580902-13.580902-24.445623-24.445623-24.445623z m-279.766578 0h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445623h46.175066c13.580902 0 24.445623-10.864721 24.445623-24.445623-2.71618-13.580902-13.580902-24.445623-24.445623-24.445623zM814.854111 673.612732c-13.580902 0-24.445623 10.864721-24.445623 24.445623s10.864721 24.445623 24.445623 24.445624 24.445623-10.864721 24.445624-24.445624-10.864721-24.445623-24.445624-24.445623z m-46.175066 209.145889h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445623h46.175066c13.580902 0 24.445623-10.864721 24.445623-24.445623s-10.864721-24.445623-24.445623-24.445623z m-46.175066-372.116711h46.175066c13.580902 0 24.445623-10.864721 24.445623-24.445624s-10.864721-24.445623-24.445623-24.445623h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445624zM209.145889 882.758621H162.970822c-13.580902 0-24.445623 10.864721-24.445623 24.445623s10.864721 24.445623 24.445623 24.445623h46.175067c13.580902 0 24.445623-10.864721 24.445623-24.445623s-10.864721-24.445623-24.445623-24.445623z m141.241379 0h-46.175066c-13.580902 0-24.445623 10.864721-24.445624 24.445623s10.864721 24.445623 24.445624 24.445623h46.175066c13.580902 0 24.445623-10.864721 24.445623-24.445623-2.71618-13.580902-13.580902-24.445623-24.445623-24.445623zM209.145889 464.466844H162.970822c-13.580902 0-24.445623 10.864721-24.445623 24.445623s10.864721 24.445623 24.445623 24.445623h46.175067c13.580902 0 24.445623-10.864721 24.445623-24.445623s-10.864721-24.445623-24.445623-24.445623"
                                ],
                                fill:"#d4237a"
                            }
                        }
                    },
                     {
                        width:250,
                        height:180,
                        label:{
                            position:'right',
                            space:20,
                            width:190
                        },
                        dataSource:
                        {
                            title:'Easy Returns',
                            text:'Shop With Confidence',
                            svg:{
                                viewBox:"0 0 1024 1024",
                                paths:[
                                    "M565.6 502.6H455.1c-3.8 0-6.8-5.1-5.4-8.5 5.8-14.5 18.2-46.3 17.9-47.6-0.9 0.3-2.5 0.9-4.8 2.4-7.2 4.8-16.5 10.2-27.3 16.4l-3.4 2c-15.2 8.8-32.5 18.8-47.8 29.7-16.8 11.9-24.7 19.7-24.7 28.1 0.1 5.7 4.2 13.8 12.6 19.5 22.6 15.4 85 48.2 97.7 54.8h0.2c0.5-0.7-14.1-33.5-20.8-48.5-1.6-3.5 1.8-9 5.8-9l110.8-0.1c19.6 2.5 56.6 19.4 56.6 57.7 0 33.3-29.9 59.1-57.4 59.3h-132c-11.8 0-21 7.9-21 19.6 0 11.6 9.6 19.6 21.4 19.6h132.1c4.8 0 47.2-0.8 75.3-28.8 16.9-16.8 25.3-40.1 24.8-69.2v-0.9c0-0.3 1.1-42.8-27.3-71.6-17.4-17.6-41.5-24.9-72.8-24.9z",
                                    "M138 449.9v-91.5h750v430.1c0 15-11.2 44.4-45.5 44.4H181.4c-15.3 0-43.4-26.9-43.4-41.9V449.9zM98.1 590.5v212.8c0 37.4 30.9 67.6 69.1 67.6h691.6c38.2 0 69.1-30.3 69.1-67.6l-0.4-453.6c0-25.2-7.2-49.8-20.7-71.1l-59.2-93.5c-12.6-20-34.9-32-58.8-32H237.4c-24 0-46.1 12.1-58.8 32L119 278.5c-13.8 21.5-21 46.3-21 71.7V450l0.1 140.5z m105.5-369.4c15.4-27.6 32.3-28.9 41.9-28.9h543.6c9.6 0 21.3 9 26.3 16.9l70.8 110.2-745.9-0.2 63.3-98z"
                                ], 
                                fill:"#d4237a"
                            }
                        }
                    },
                    {
                        width:250,
                        height:180,
                        label:{
                            position:'right',
                            space:20,
                            width:190
                        },
                        dataSource:
                        {
                            title:'24/7 Support',
                            text:'Contact 24 hours everyday',
                            svg:{
                                viewBox:"0 0 1024 1024",
                                paths: [
                                    "M881.9712 376.5248A116.9152 116.9152 0 0 1 972.8 490.5216c0 53.6064-36.4544 100.2496-89.6512 111.7696-38.272 125.9264-137.6 224-263.168 259.5328a65.4592 65.4592 0 0 1-65.0752 59.4176h-85.8624a65.6896 65.6896 0 1 1 0-131.3792h85.8624c22.0416 0 42.624 11.0336 53.3504 28.9024 144.5632-42.496 246.016-175.616 246.016-328.2432 0-188.7232-153.5488-342.272-342.272-342.272-188.7232 0-342.272 153.5488-342.272 342.272a342.4512 342.4512 0 0 0 14.3872 98.4832 22.7328 22.7328 0 0 1-15.2832 28.3648c-7.6544 2.2528-16.5888-2.048-26.8544-12.8512A117.12 117.12 0 0 1 51.2 490.5472c0.0768-53.6064 36.48-100.1728 89.6-111.7696C189.824 216.32 340.0192 102.7584 512 102.7584c172.0832 0 329.088 118.4512 369.9712 273.7664zM310.784 582.656a22.7328 22.7328 0 0 1 43.008-14.7968 170.5728 170.5728 0 0 0 322.4576 0.4352 22.7584 22.7584 0 1 1 43.008 14.848 216.192 216.192 0 0 1-204.1344 145.3056 215.9872 215.9872 0 0 1-204.3392-145.792z m91.8528-250.0608h5.12c11.9552 0 21.6832 9.728 21.6832 21.7088v61.2608c0 11.9808-9.728 21.7088-21.7088 21.7088h-5.12a21.7088 21.7088 0 0 1-21.6832-21.7088V354.304c0-11.9808 9.728-21.7088 21.7088-21.7088z m218.7264 0h5.12c11.9808 0 21.6832 9.728 21.6832 21.7088v61.2608c0 11.9808-9.728 21.7088-21.6832 21.7088h-5.12a21.7088 21.7088 0 0 1-21.6832-21.7088V354.304c0-11.9808 9.728-21.7088 21.6832-21.7088z"
                                ],             
                                fill:"#d4237a"
                            }
                        }
                    }
                  ],
                  editInMaster:true 
        },
        {
            id:'page_bottom',
            name: 'bottom',
            xtype: 'container',
            cls: 'x-master-bottom',
            width: '100%',
            height: 'auto',
            style: { color: '#fff', backgroundColor: '#363636de' },
            layout: 'hbox',
            items: [
                {
                    flex: 1
                },
                {
                    xtype: 'list',
                    margin: '100 0 0 0',
                    label: { content: 'About US', style: { height: 80, lineHeight: '80px', textAlign: 'left', fontWeight: 'bold', fontSize: '180%' } },
                    width: 300,
                    height: 400,
                    itemStyle: { height: 40, lineHeight: '40px' },
                },
                {
                    xtype: 'list',
                    margin: '100 0 0 0',
                    label: { 
                        content: 'Information', 
                        style: { height: 80, lineHeight: '80px', textAlign: 'left', fontWeight: 'bold', fontSize: '150%' } 
                    },
                    width: 300,
                    height: 400,
                    itemStyle: { height: 40, lineHeight: '40px', width: '100%',color:'#fff' },
                    itemXtype: 'link',
                    dataSource: [
                        { text: "About Us", href: '', label: false },
                        { text: "Delivery Information", href: '', label: false },
                        { text: "Privacy Policy", href: '', label: false },
                        { text: "Terms & Conditions", href: '', label: false },
                        { text: "Contact Us", href: '', label: false },
                        { text: "Loag In Info", href: '', label: false }
                    ]
                },
                {
                    xtype: 'list',
                    margin: '100 0 0 0',
                    label: { content: 'Our Policy', style: { height: 80, lineHeight: '80px', textAlign: 'left', fontWeight: 'bold', fontSize: '150%' } },
                    width: 300,
                    height: 400,
                },
                {
                    xtype: 'list',
                    margin: '100 0 0 0',
                    label: { content: 'Contact Info:', style: { height: 80, lineHeight: '80px', textAlign: 'left', fontWeight: 'bold', fontSize: '150%' } },
                    width: 300,
                    height: 400,
                },
                {
                    flex: 1
                }
            ],
            header: {
                content: "Copyright © 2025. Nanjing Hongwei Information Technology Co., Ltd All rights reserved.",
                position: 'bottom',
                space: 0,
                height: 100,
                width: '80%',
                style: { color: '#fff', borderTop: '1px #fff solid' }
            },
            domEditable: true,
            editInMaster:true
        }, 
        {
            id: 'm007',
            xtype: 'link',
            text: "account@spok.top",
            href: 'account',
            height: 100,
            width:150,
            style:{
                position:'absolute',
                right:0,
                top:0
            },
            liStyle: { flex: 250 }
        }
    ],
    /**
     * 
     * @param {*} config 
     */
    constructor: function ShopMaster(config) {

        config = config || {};
        this.apply(config);
    },
    /**
     * 
     * @param {*} data 
     */
    load:function load(data)
    { 
        this.callParent(data);
    },
    /**
     * 
     */
    btn_menu_click:function btn_menu_click(s,e)
    {
        if(s.menu.href)
        {
            Rsd.app.goto(s.menu.href);
        } 
    }

}, function (type) {
    var _floatGetter = function () {
        return this.items[0];
    };

    var _floatSetter = function (value) {
        if (Rsd.isEmpty(value)) {
            return;
        }
        if (Rsd.isString(value)) {
            this.items[0].xtype = value;
            return;
        }
        if (Rsd.isObject(value)) {
            Rsd.apply(this.items[0], value, 3);
            return;
        }
    }

    this.defineProperty(type, "float", _floatGetter, _floatSetter, true);
    //top
    var _topGetter = function () {
        return this.items[1];
    };

    var _topSetter = function (value) {
        if (Rsd.isEmpty(value)) {
            return;
        }
        if (Rsd.isString(value)) {
            this.items[1].xtype = value;
            return;
        }
        if (Rsd.isObject(value)) {
            Rsd.apply(this.items[1], value, 3);
            return;
        }
        if (Rsd.isArray(value)) {
            this.items[1].items = value;
            return;
        }
    }

    this.defineProperty(type, "top", _topGetter, _topSetter, true);
    //banner
     var _bannerGetter = function () {
        return this.items[2];
    };

    var _bannerSetter = function (value) { 
        if (Rsd.isEmpty(value)) {
            return;
        }
        if (Rsd.isString(value)) {
            this.items[2].xtype = value;
            return;
        }
        if (Rsd.isObject(value)) {
            Rsd.apply(this.items[2], value, 3);
            return;
        }
        if (Rsd.isArray(value)) {
            this.items[2].items = value;
            return;
        }
    }

    this.defineProperty(type, "banner", _bannerGetter, _bannerSetter, true);

    //content
    var _contentGetter = function () {

        return this.items[3];
    };

    var _contentSetter = function (value) {
        if (Rsd.isEmpty(value)) {
            return;
        }
        if (Rsd.isString(value)) {
            this.items[3].xtype = value;
            return;
        }
        if (Rsd.isObject(value)) {
            Rsd.apply(this.items[3], value, 3);
            return;
        }
        if (Rsd.isArray(value)) {
            this.items[3].items = value;
            return;
        }
    }

    this.defineProperty(type, "content", _contentGetter, _contentSetter, true);

    //services
     var _servicesGetter = function () {

        return this.items[4];
    };

    var _servicesSetter = function (value) {
        if (Rsd.isEmpty(value)) {
            return;
        }
        if (Rsd.isString(value)) {
            this.items[4].xtype = value;
            return;
        }
        if (Rsd.isObject(value)) {
            Rsd.apply(this.items[4], value, 3);
            return;
        }
        if (Rsd.isArray(value)) {
            this.items[4].items = value;
            return;
        }
    }

    this.defineProperty(type, "services", _servicesGetter, _servicesSetter, true);


    //bottom

    var _bottomGetter = function () {

        return this.items[5];
    };

    var _bottomSetter = function (value) {
        if (Rsd.isEmpty(value)) {
            return;
        }
        if (Rsd.isString(value)) {
            this.items[5].xtype = value;
            return;
        }
        if (Rsd.isObject(value)) {
            Rsd.apply(this.items[3], value, 3);
            return;
        }
        if (Rsd.isArray(value)) {
            this.items[5].items = value;
            return;
        }
    }

    this.defineProperty(type, "bottom", _bottomGetter, _bottomSetter, true);
});
